package se.teamscape.client.presenter;

import java.util.List;

import net.customware.gwt.presenter.client.EventBus;
import se.teamscape.shared.model.Model;

/**
 * Generic presenter for listing models.
 * 
 * @author Andreas Borglin
 * 
 */
public abstract class ListModelsPresenter extends BasePresenter<ListModelsPresenter.Display> {

    public interface Display extends BasePresenter.Display {
        void setData(List<Model> models, List<String> places);
    }

    public ListModelsPresenter(Display display, EventBus eventBus) {
        super(display, eventBus);
    }

}
